﻿namespace Probel.Statistics
{
    using System;
    using System.Collections.Generic;
    using System.ServiceModel;
    using System.ServiceModel.Web;

    using Probel.Statistics.Domain;

    [ServiceContract]
    public interface IStatReader
    {
        #region Methods

        [OperationContract]
        [WebGet]
        ApplicationsSummary GetApplicationsSummary();

        [OperationContract]
        ApplicationsSummary GetApplicationsSummaryBefore(DateTime threshold);

        [OperationContract]
        [WebGet]
        Listing GetLogEntries();

        #endregion Methods
    }
}